import request from '@/utils/request'
import { limit } from '@/consts/consts'
const url = 'max-compute'

export default {
  // 6.13. 查询设备日报表
  queryDeviceDay(params, data) {
    return request({
      url: `${url}/api/v1/device/dashboard/query_device_day`,
      method: 'post',
      params,
      data
    })
  },
  // 6.17 查询设备即时报表
  queryDeviceRt(params,data) {
    return request({
      url: `${url}/api/v1/device/dashboard/query_device_rt`,
      method:'post',
      params,
      data
    })
  },
  // 6.4. 查询日总量
  dayTotal(params) {
    return request({
      url: `${url}/api/v1/day/total`,
      method: 'get',
      params
    })
  },
}
